package com.car.carsharing.service;

import com.car.carsharing.dto.CouponDTO;
import com.car.carsharing.dto.TableListDto;
import com.car.carsharing.pojo.Coupon;

import java.util.List;
import java.util.Map;

public interface CouponService {
    TableListDto getCoupon(Map map);

    List<CouponDTO> getUserCouponById(Integer userId);

    int updateCoupon(Coupon coupon);

    int addCoupon(Coupon coupon);

    List<CouponDTO> getCouponNum();
}
